package com.tony.dao;

import com.tony.pojo.Blog;

import java.util.List;
import java.util.Map;

public interface BlogMapper {

    List<Blog> getBlogs(Map map);

    List<Blog> getBlogsByWhen(Map map);

    List<Blog> getBlogsByWhere(Map map);

    int updateBlog(Map map);

    List<Blog> queryBlogForeach(Map map);
}
